package com.nervenets.web.controller.user;

import com.nervenets.web.controller.TokenParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class JoinTeamParams extends TokenParams {
    @ApiModelProperty(value = "用户的token", required = true)
    @NotNull(message = "用户的token不能为空")
    private long teamId;
}
